/*
 * pml_bom.h
 *
 *  Created on: 2013年8月25日
 *      Author: lius
 */

#ifndef PML_BOM_H_
#define PML_BOM_H_


typedef struct _state{
	char shift[256];
}state;

typedef struct _factor_m{
	unsigned char cur_state;
	unsigned char pattern_len;
	unsigned char match_state;
	state *p_state;
	unsigned char *p_supply_state;
} factor_m;

#define NULL_STATE  -1


#endif /* PML_BOM_H_ */
